package com.example.demo.secondaryDS.repository;

import com.example.demo.secondaryDS.entity.Task;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by pengwan on 2017/8/1.
 */
@Repository
public interface TaskRepository extends JpaRepository<Task, String>{
    List<Task> findByTaskNameContaining(String name);
}
